//
//  LBLimitedTextView.h
//  LBLimitedTextField
//
//  Created by 刘文扬 on 17/7/3.
//  Copyright © 2017年 lianj. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LBLimitedTextView;
@protocol LBLimitedTextViewDelegate <NSObject>

@optional
-(void)limitedTextViewFieldOverLimitedWithTextView:(LBLimitedTextView *)limitedTextView maxTextLength:(NSInteger)maxTextLength;

-(void)limitedTextView:(LBLimitedTextView *)limitedTextView textCount:(NSInteger)textCount;


@end

@interface LBLimitedTextView : UITextView

/** maxTextLength*/
@property(nonatomic,assign)NSInteger maxTextLength;

/** lb_degegate*/
@property(nonatomic,weak)id<LBLimitedTextViewDelegate> lb_degegate;

/** 是否可以输入emoji 默认是不可以*/
@property(nonatomic,assign)BOOL canEmoji;

@end
